package com.dobbinsoft.iotechn.device.enums;

/**
 * @author : rize
 * @description :
 * @time : 2020/6/17
 */
public enum DeviceStatusType {

    INACTIVE(1, "未激活"),
    OFFLINE(2,"离线"),
    ONLINE(3, "在线"),
    // CODE = 4 DeviceMapper中有硬编码
    SCRAP(4, "报废")
    ;

    DeviceStatusType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;

    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
